package com.dianjing.dianjing.dto.output;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author manzhuangjie
 */
@Data
@ApiModel(value = "画师历史订单item")
public class PainteHistoryOrderOutput {
    @ApiModelProperty(value = "订单id")
    private Long id;

    @ApiModelProperty(value = "需求方昵称")
    private String demandName;

    @ApiModelProperty(value = "需求方头像")
    private String demandIcon;

    @ApiModelProperty(value = "画师昵称")
    private String painterName;

    @ApiModelProperty(value = "画师头像")
    private String painterIcon;

    @ApiModelProperty(value = "订单标题")
    private String title;

    @ApiModelProperty(value = "订单内容")
    private String content;

    /**
     * 修改由String（名）改为Inter类型（id）
     */
    @ApiModelProperty(value = "订单类型")
    private Integer type;

    @ApiModelProperty(value = "订单报价")
    private Double price;

    @ApiModelProperty(value = "订单ddl")
    private Date ddl;

    @ApiModelProperty(value = "订单星级")
    private Integer starLevel;

    @ApiModelProperty(value = "订单评价")
    private String evaluate;

    @ApiModelProperty(value = "需求方id")
    private Long demandUserId;

    @ApiModelProperty(value = "画师id")
    private Long painterId;

}
